class CreateAreas < ActiveRecord::Migration
  def self.up
    create_table :areas do |t|
	    t.string  :name  		  # 地区名称
	    t.integer :parent_id  # 上级
      t.timestamps
    end
  end

  def self.down
    drop_table :areas
  end
end
